package virtualC;

/************************************************************************
  			matricula.java - Copyright gabriel

Here you can write a license for your code, some comments or any other
information you want to have in your generated code. To to this simply
configure the "headings" directory in uml to point to a directory
where you have your heading files.

or you can just replace the contents of this file with your own.
If you want to do this, this file is located at

/usr/share/apps/umbrello/headings/heading.java

-->Code Generators searches for heading files based on the file extension
   i.e. it will look for a file name ending in ".h" to include in C++ header
   files, and for a file name ending in ".java" to include in all generated
   java code.
   If you name the file "heading.<extension>", Code Generator will always
   choose this file even if there are other files with the same extension in the
   directory. If you name the file something else, it must be the only one with that
   extension in the directory to guarantee that Code Generator will choose it.

you can use variables in your heading files which are replaced at generation
time. possible variables are : author, date, time, filename and filepath.
just write %variable_name%

This file was generated on mar nov 4 2008 at 23:22:57
The original location of this file is /home/gabriel/uml-generated-code/nuevo/matricula.java
**************************************************************************/


import java.util.*;


/**
 * Class matricula
 */
public class matricula {

  //
  // Fields
  //

  private int id_alumno;
  private int id_curso;
  private String observacion;
  private int nota;
  
  //
  // Constructors
  //
  public matricula () { };
  
  //
  // Methods
  //


  //
  // Accessor methods
  //

  /**
   * Set the value of id_alumno
   * @param newVar the new value of id_alumno
   */
  private void setId_alumno ( int newVar ) {
    id_alumno = newVar;
  }

  /**
   * Get the value of id_alumno
   * @return the value of id_alumno
   */
  private int getId_alumno ( ) {
    return id_alumno;
  }

  /**
   * Set the value of id_curso
   * @param newVar the new value of id_curso
   */
  private void setId_curso ( int newVar ) {
    id_curso = newVar;
  }

  /**
   * Get the value of id_curso
   * @return the value of id_curso
   */
  private int getId_curso ( ) {
    return id_curso;
  }

  /**
   * Set the value of observacion
   * @param newVar the new value of observacion
   */
  private void setObservacion ( String newVar ) {
    observacion = newVar;
  }

  /**
   * Get the value of observacion
   * @return the value of observacion
   */
  private String getObservacion ( ) {
    return observacion;
  }

  /**
   * Set the value of nota
   * @param newVar the new value of nota
   */
  private void setNota ( int newVar ) {
    nota = newVar;
  }

  /**
   * Get the value of nota
   * @return the value of nota
   */
  private int getNota ( ) {
    return nota;
  }

  //
  // Other methods
  //

  /**
   * @return       int
   */
  public int getIdAlumno(  )
  {
    return 20041021;
  }


  /**
   * @return       int
   */
  public int getIdCurso(  )
  {
    return 100;
  }


  /**
   * @return       int
   */
  /*
  public int getNota(  )
  {
    
  }
   */


  /**
   * @param        nota_alumno
   */
  /*
  public void setNota( int nota_alumno )
  {

  }
   * */


  /**
   * @param        id_curso
   */
  public void crearMatricula( int id_curso )
  {

  }


}
